package com.jcfk.eam.dao.base;

import com.jcfk.common.business.dao.BaseDao;
import com.jcfk.common.web.domain.DataPage;
import com.jcfk.eam.domain.dto.base.EamTeamDTO;
import com.jcfk.eam.domain.po.base.EamTeam;
import com.jcfk.eam.domain.query.base.EamTeamQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
 * 运维班组
 *
 * @author libinghai
 * @email 35738025@gqq.com
 * @date 2024-08-14
 */
@Repository
public interface EamTeamDao extends BaseDao<EamTeam> {
    /**
     * 运维班组分页查询
     *
     * @param page
     * @param query
     * @return
     */
    DataPage<EamTeamDTO> queryByPage(@Param("page") DataPage<EamTeamDTO> page, @Param("query") EamTeamQuery query);

    /**
     * 根据员工号获取班组列表
     * @param memberEmpNo
     * @return
     */
    List<EamTeamDTO> getListByEmpNo(@Param("memberEmpNo") String memberEmpNo);
}
